<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
 <link rel="stylesheet" type="text/css" href=" <?php echo base_url();?>css/style_list_tecn.css"></link>
 <script type="text/javascript" src=" <?php echo base_url();?>js/tabbed.js"></script>
 

<title>Informes</title>
</head>


<body window.parent.scrollTo(0,0)">

<?php echo validation_errors(); ?>

<?php echo form_open('informes/index/'.$idObra.''); ?>

<section id="marcoInf">
<h4>Introduzca la fecha del informe a generar: </h4>


<select name ="dia" id="dia"> 

      
 
       
        
        <?php foreach($dias as $item){?>
        <?php if ($item['dia']== $dia){?>
                 <option value="<?= $item['dia']; ?>" selected><?= $item['dia'];?></option> 
        <?php }else {?>
         <option value="<?= $item['dia']; ?>"><?= $item['dia'];?></option> 
        	
           
       <?php } }?>
       
       </select>   	
        <select name ="mes" id="mes">   
        
         <?php foreach($meses as $item){?>
          <?php if ($item['valorMes']== $mes){?>
                   <option value="<?= $item['valorMes'];?>" selected><?= $item['mes']?></option> 
           <?php }else {?>
         <option value="<?= $item['valorMes'];?>"><?= $item['mes']?></option> 
        	
       <?php } }?>
             
        </select>    
        
        
   
        
        
         <select name ="anyo" id="anyo">
         
          <?php foreach($anyos as $item){?>
          <?php if ($item['anyo']== $anyo){?>
         <option value="<?= $item['anyo'] ?>"selected ><?= $item['anyo']?></option> 
                   <?php }else {?>
         <option value="<?= $item['anyo'] ?>"><?= $item['anyo']?></option> 
        	
        	
       <?php } }?>
         
        </select>

</br></br></br>

<section id="generar"><button type="submit" class="btnLogin">Generar</button> </section>

</form>

</section>

</body>
</html>

